<script>
	export default {
		onLaunch: function() {
			console.log('App Launch');
			
			uni.addInterceptor('navigateTo', {success(e) {
				
					if (typeof WeixinJSBridge == 'undefined') {
						if (document.addEventListener) {
							WeixinJSBridge.call('hideOptionMenu')
						} else if (document.attachEvent) {
							document.attachEvent('WeixinJSBridgeReady', this.onBridgeReady);
							document.attachEvent('onWeixinJSBridgeReady', this.onBridgeReady);
						}
					} else {
						WeixinJSBridge.call('hideOptionMenu');
						
					}
				
				}
			
			});
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	
	@import url('static/iconfont.css');
	.content{
		width: 100%;min-height: 100vh;
		background: linear-gradient(to bottom, #00d292 0%, #7ddb59 20%,#ffffff 40%,#ffffff 100%);
	}
</style>
